<table>
<?php 
$lectures=ORM::factory('lecture')->find_all();
?>
<?php foreach($lectures as $lecture) : ?>
<tr>
<td><a href="<?php echo URL::site().'/play/play/'.$lecture->id;?>">Lecture <?php echo $lecture->id;?></a></td>
</tr>
<?php endforeach ; ?>

</table>
